compile flags for linux compatibility