everything compiles now
add note about compile flags