Cleaned up netbsd compilation conversion warnings.