fixed linking errors, updated readme