Change the way headers and libraries are handled in build system.