library: Use a full path when building components

Makes it respect cwd!=runtime dir, which happens
when running tests from server