added compiler flag to properly set version