local modifications to make this build on my machine