Fixed dependency issues and JVM memory allocation, allowing for successful build.