Workaround for qbs project files.

Additional check required because qbs project doesn't fill source/header
file types correctly.