Added boost linking to optimized (NDEBUG=1) compiling