Runtime support for both pre-1.2 and 1.2+ devices

This small patchset does a little cleanup of the build system and (most importantly) allows concurrent support for 1.2+ and pre-1.2 devices without need for a compile-time switch (the only caveat is that the _headers_ should be 1.2 or higher).