added option for flags for the linker
compilation stage now removes '.cpp' from file name