Make CMake scripts compatible with CMake 2.8.7
Remove usage of POSITION_INDEPENDENT_CODE property. This is not supported in CMake 2.8.7