ISSUE 11: Fixed DynamicLib Linking Error with Makefiles on MacOSX

- Rebased to current Master
- Added workaround to the new Config.h