fix pcu and apf module out-of-source builds