Added a gradle property to ensure it to function on mac osx