fix build settings for debug