Pass buildtype and warning_level options. Remove some manually added options.
buildtype
warning_level