add fork goal & minimal updates to achieve ubuntu 12.04 compatibility