adjust os build defines