Fixed build issue caused by wrong order of include directories.