Fixed Clang compile errors in modules _te and materials.
Fixed wrong output folder for boost python library on OSX