Fixed build for pre-releases