Fix build system to use proper directory