Add switch to compile in release mode with additional debug infos.

Enable by setting RELWITHDEBUGFLAG.