add option to compile code to minimized version