Moved compilation step out.