Fixed 64bit issue
Fixed boost dynamic linkage problem