new function to print pdbs directly to a file handle
new profile target for building library
convert inline to static and export one