Finally fixed building and deployment.