escape newlines in BUILD_FLAGS