updated build settings

updated build settings to enable recommended warnings