Fix variable names for Windows and Unix

Fix the spelling of the output-parameters for cmake. Guess I didn't actually use this on Windows for a while :-)

On Unix, the r-path has hidden this problem...