Fix some warnings in bin_pe (and likely an import-related bug)