Adjusted some compile script errors