tune for debug build

— BaseSerialPortLib need only for debug
— MDEPKG_NDEBUG need for release build