gmake: fixing relative project path; enabling dynamic libraries.