adding precompilation boilerplate to some of the external libs