Fix passing JAVA_OPTS on Amazon Linux.