fixed boost linking problem and switched rpg namespace to hal, removing conflicts on the way