set default build type to release

thanks to Dmitry Yakimenko to hint me on the issue.