updated to check that systems supports dynamic linking