Fixes broken build and creates a proper server script to run from a /bin directory.