Programmatically determine installed Intel Curie Board library version

Hello,

I'm working with the Arduino 101, and am in the position where I need to create sketches that are compatible with both the 1.0.4 and 1.0.5 Curie board libraries, as 1.0.5 doesn't work on some people's systems because they are USB 3 only. See Core 1.0.5 released - Arduino 101 - Arduino Forum

bzn9:
Core 1.0.5 works out of the box for my USB2.0 ports, however I do get the MASTER RESET error from USB3 ports. Issue seem to follow the ports consistently. Previous version 1.0.4 worked from both USB 3 and USB 2 ports.

Since switching between the two would require including either "CurieImu.h" or "CurieIMU.h", I'd imagine this would require the use of an #ifdef.

I'm looking to leave the Curie libraries untouched.

Is there a way to programmatically determine which of the two libraries is installed?

Thanks in advance.

Is there a way to programmatically determine which of the two libraries is installed?

The libraries are not installed on the Arduino.

Perhaps "Programmatically" was a poor choice of words. I'm looking for a compile-time mechanism for distinguishing which library is installed (#def 1.0.4).

for example:

#ifdef ???????
  #include "CurieIMU.h"
#else
  #include "CurieImu.h"
#endif

It might be that I just define a variable and have people change that based on their installed version, but I'd prefer a solution that doesn't require users to modify the code based on their environment.