Fix build path problem for Gradle