Replace $(Configuration) with $<CONFIGURATION>
Merge pull request #1681 from LeszekSwirski:fix-ninjabuild