Make blit.hpp more portable