making build file more generic