Attempt to optimize build.