added build generator, fixed release build warnings