automatically compile unit tests if the right lib is present