Added release build.
Workaround for pedantic complaints about function pointer assignment.