Make the library compatible with the gradle build system without altering the maven config, and add missing Marker methods setIcon() and setAnchor()