adding required linker flags for linux