[WIP] Pass flags to clang

Nothing to see yet, but thought I should open this so that it stays on my radar.

Fix for #2.