build/compilation fixes. git fetch git://github.com/yamt/otp.git netbsd https://github.com/yamt/otp/compare/yamt:netbsd https://github.com/yamt/otp/compare/yamt:netbsd.patch