troubleshooting build errors