Fixed a problem with include directory search order