fix lib exporting if buildtype=debug