cmake: Copied CMakeParseArguments for backwards compatibility