Move extension build to before_script step