Fix comparison operators on Point
Add api declaration to support windows builds, and add option to build static