Fixing compile scripts