cmake low version (<=2.8.4) build issue fix