kluge

noun

Something that should not work, but does.

noun

A device assembled from components intended for disparate purposes.