use O3 optimization
BFS 404
fixes for kernel to compile with BFS
BFS 413