Fix

* fix conditional compilation for mac os x