build paths and references changed to relative