Set CMake module search path at a better time

This needs to be set before project() in order that
toolchain files for cross compilling can use the same
search path. Otherwise, the users has to specify
fully-qualified toolchain files.

Refs #1064

Change-Id: I1f1fb4803c9f0dd2b95d236da1c1858c5ea382f9