fixed build config for directory reference