fixed environment variable problem with maven build