bump beta version to 0.3
add -g compile flag