#55 restrict symbol export on OS X and Linux