Minor bugfix in compile script