Issue #356: Fix bootloader compilation on osx.
Issue #356: Fix getting execfile in bootloader on osx.
Issue #356: Add helloworld test case for onefile mode.
Issue #356: Fix multiple slashes in temppath on osx.