Put lib and test under the proper build/ dir