Fixed nested projects and build patch depending on it.