fix build flags
add sound control
fix