added some more flags for the linker and preprocessor