Fix build settings

I'm not really sure what you mean. Sorry. Can you try explaining differently or using a code example of how this should be done?