Put entry point at start of binary on x86 platforms

Related to #881.