Allow different extensions in .so
Actually, include cpp in source >_<