For other buildings with ' in their names (don't know how many), the general solution for now is to use the build.php?bid=building_code_name link which we can find by looking for the HTML tag on the build button.
1. Right click on the build button > Inspect (Chrome)/ Inspect Element (Firefox)
2. It will jump you to the line with onclick="castle..." where there will be a build.php link.