Attempt at making vips platform dependent