Switched shared compiler flags for linux