Removed Boost dependencies in graphics library