fixing test build and relative build path issue