This fixes the build scripts and gets everything working up to the part where
4coder actually builds the linux platform layer. I had to make a few
modifications to shared definitions, so you should make sure I didn't break
anything on Windows with these changes!