Fixed the pre-build event for spaceship.
Also fixed line endings in the other pre-build events.