[lst1] fix several compiler errors when building under OS X Yosemite