BUILD: Move configure generated engine files back into engines folder.

This was previously broken for out of tree builds, but have now fixed
this in configure script by creating engines folder if missing.