Fixed build file path bugs