Fixed build.properties check