Moved compile script to scripts, added to npm build