switch to debug print for apple frameworks
change print to debug
add directory utilities
fix flags of c++ shared library compile
fix and expose the Include function