Cleaned the compile script a bit