library type issues for APPLE and commenting lines of boost code