Making external compile work on POSIX-style systems.