Cleanup warnings in netbsd.