with recent versions of the framework, the executables and libraries get always installed under the debug folder regardless of the belle2_option. 

compilation respects the option, so the code gets compiled as optimal but installed under debug.