Fix compiler configuration for Mac.
Merge pull request #86 from DO-CV/fix-compiler-configuration

[FIX] Fix compiler configuration for Mac.
Merge remote-tracking branch 'origin' into maint-improve-locator-unit-tests
Fix compilation errors on `Locator.hpp`.
Fix compilation errors for Subimage.hpp

TODO: add unit tests for this one.