the string "-lboost_system" should not be hard-coded here, but rather taken from $extralib.