Modify CMake script to build correctly on more platforms
Modify CMake script to build correctly on more platforms

Signed-off-by: Paul Jones <a027184a55211cd23e3f3094f1fdc728df5e0500@pauljones.id.au>

firepick-delta/FireSight,firepick1/FireSight,firepick1/FireSight,firepick-delta/FireSight,firepick-delta/FireSight,simonfojtu/FireSight,simonfojtu/FireSight,simonfojtu/FireSight,firepick1/FireSight