CMake: Added option for generating position independent code