prevent lib from getting wiped out when using the new dir structure