fix compile with distinct source dirs for distinct libraries