Added patch to remove boost-thread dependency. Added size optimizations. Signed-off-by: Rosen Penev <rosenp@gmail.com>