Change relativeDir settings to compilePaths

for issue #76