fix profile build on mac and linux