Added cxxtests to SConstruct
Added precompiler constant to not compile FWave multiple time